package com.ssy.lingxi.contract.api.feign;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.contract.api.model.vo.request.ContractExecuteInfoAddVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.validation.Valid;
import java.util.List;

/**
 * 合同执行情况内部接口定义
 * @author 伍将
 * @date 2021/3/9
 * @version 2.0.0
 */
@FeignClient(name = "contract-service")
public interface ContractExecuteControllerFeign {

    /**
     * 批量新增合同执行情况
     * @author 伍将
     * @date 2021/3/9
     **/
    @RequestMapping("/contract/feign/execute/addList")
    Wrapper<Void> addList(@RequestBody @Valid List<ContractExecuteInfoAddVO> addVOList);
}
